
import user from './user';

import config from '../resources/webconfig';


console.log(user);

class Character {

 	a = 1;

   constructor(){
   	console.log(this.a);
     if(Object.getPrototypeOf(this) === Character.prototype){
       console.log('invoke character');
     }
   }
}


class Hero extends Character{
  constructor(){
      super(); // throws exception when not called
      console.log('invoke hero');
  }
}
var hero = new Hero();

console.log('now let\'s invoke Character');
var char = new Character();

